package org.bling.star.common.connect;

import org.bling.star.common.connect.ConnectClient;

/**
 * @Describe: 连接状态enum
 * @Date: 2024/5/23
 * @Author: szz
 */
public enum ConnectStatus {
    INIT,
    CONNECTING,
    CONNECTED,
    MISSING,
    SHUTDOWN;
    public static boolean isShutdown(ConnectClient connectClient) {
        return SHUTDOWN.equals(connectClient.status());
    }
}
